from random import *
s=""
for i in range(0,4):
    if randint(0,1)==0:
        #生成字母
        s=s+chr(randint(65,90))
    else:
        #生成数字
        s=s+str(randint(0,9))
print(s)